package com.xinzhidi.web.netty.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xinzhidi.web.netty.entity.AgreementHouseholdValveHistory;

import java.util.List;


/**
 * 户用阀门协议-历史数据Mapper接口
 *
 * @author cx
 * @date 2023-06-16
 */
public interface AgreementHouseholdValveHistoryMapper extends BaseMapper<AgreementHouseholdValveHistory> {
    /**
     * 查询户用阀门协议-历史数据
     *
     * @param id 户用阀门协议-历史数据主键
     * @return 户用阀门协议-历史数据
     */
    public AgreementHouseholdValveHistory selectAgreementHouseholdValveHistoryById(Long id);

    /**
     * 查询户用阀门协议-历史数据列表
     *
     * @param agreementHouseholdValveHistory 户用阀门协议-历史数据
     * @return 户用阀门协议-历史数据集合
     */
    public List<AgreementHouseholdValveHistory> selectAgreementHouseholdValveHistoryList(AgreementHouseholdValveHistory agreementHouseholdValveHistory);

    /**
     * 新增户用阀门协议-历史数据
     *
     * @param agreementHouseholdValveHistory 户用阀门协议-历史数据
     * @return 结果
     */
    public int insertAgreementHouseholdValveHistory(AgreementHouseholdValveHistory agreementHouseholdValveHistory);

    /**
     * 修改户用阀门协议-历史数据
     *
     * @param agreementHouseholdValveHistory 户用阀门协议-历史数据
     * @return 结果
     */
    public int updateAgreementHouseholdValveHistory(AgreementHouseholdValveHistory agreementHouseholdValveHistory);

    /**
     * 删除户用阀门协议-历史数据
     *
     * @param id 户用阀门协议-历史数据主键
     * @return 结果
     */
    public int deleteAgreementHouseholdValveHistoryById(Long id);

    /**
     * 批量删除户用阀门协议-历史数据
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAgreementHouseholdValveHistoryByIds(Long[] ids);
}
